
 
 F u n c t i o n :   g e t T e x t ( d o m E l e m e n t ) 
 
 
 
 S h o r t h a n d :   t e x t ( d o m E l e m e n t ) 
 
 
 
 D e s c r i p t i o n :   R e t u r n s   t h e   i n n e r   t e x t   c o n t e n t   o f   a   D O M   n o d e . 
 
 
 
 R e t u r n s :   S t r i n g . 
 
 
 
 N o t e :   T h e   g e t T e x t ( )   f u n c t i o n   w i l l   o n l y   r e t u r n   t h e   i n n e r   t e x t   o f   a n   e l e m e n t ,   n o t   i n c l u d i n g   a n y   a l t e r n a t i v e   t e x t   t h a t   i s   a d d e d   u s i n g   e l e m e n t   a t t r i b u t e s   s u c h   a s   t i t l e ,   a l t ,   a r i a - l a b e l ,   a r i a - l a b e l l e d b y ,   n o r   a r i a - o w n s .   T o   r e t u r n   t h e   a c c e s s i b l e   n a m e   c o m p u t a t i o n   i n s t e a d ,   u s e   t h e   g e t A c c N a m e ( )   f u n c t i o n   a s   d o c u m e n t e d   i n   A R I A   D e v e l o p m e n t . 
 
 
 
 E x a m p l e : 
 
 
 
 v a r   t e x t S t r i n g   =   $ A . g e t T e x t ( d o m E l e m e n t ) ; 
 
 
 
 / /   O r   t h e   s a m e   u s i n g   c h a i n i n g 
 
 
 
 v a r   t e x t S t r i n g   =   $ A ( d o m E l e m e n t ) . g e t T e x t ( ) ; 
 
 